public class li2 {

	public static void main(String[] args) {
		int[] Shulie = new int[31];
		Shulie[0] = 1;
		for (int i = 1; i <= Shulie.length; i++) {
			Shulie[i] = 2 * Shulie[i - 1];
			System.out.print(Shulie[i - 1] + "  ");
		}
	}
}
